Total Complexity | 29 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 338 |
Lines of code | 231 |
Logical lines of code | 87 |
Comment lines | 54 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_oauth_connect_button_fields() | 40 | 5 | 69 | |
save_token() | 58 | 5 | 14 | |
__construct() | 54 | 2 | 22 | |
show_common_setting_fields() | 51 | 1 | 30 | |
get_oauth_connection_status_fields() | 52 | 1 | 28 | |
get_gateway() | 62 | 2 | 12 | |
add_paypal_partner_id() | 69 | 2 | 6 | |
gateway_configuration_display_value() | 75 | 2 | 4 | |
get_oauth_token_request_body() | 74 | 2 | 4 | |
save_post() | 69 | 2 | 7 | |
setup() | 65 | 1 | 10 | |
get_child_config() | 63 | 1 | 10 | |
clear_child_config() | 68 | 1 | 7 | |
is_oauth_connected() | 80 | 1 | 3 | |
configure_webhook() | 72 | 1 | 5 |